package com.sakura.bean;

/**
 * @author Sakura
 * @Date 2023-02-22 16:43
 */

public class Cat {

    public Cat() {
        System.out.println("cat....constructor");
    }

    //自定义初始化和销毁方法
    public void init(){
        System.out.println("cat.....init");
    }
    public void destroy(){
        System.out.println("cat.....destroy");
    }
}
